
import {RequestServerClass} from '../../util/request';
import publishObjectPath from '@/util/configRegistry';
const weather = publishObjectPath.value.weather;
export class WeatherServer {

    public rSerivce: any;

    constructor(opt: any, axiosFilterFn?: any) {
      this.rSerivce = new RequestServerClass(opt);
    }
    // 天气的数据
    public getWeatherData() {
        const url = weather.url;
        return this.rSerivce.serverObj.get(url);
    }
}
